package com.podcstr.entity;

import javax.persistence.Entity;
import javax.persistence.OneToOne;
import javax.persistence.Table;

/**
 * @author azim
 * @since 5/12/13 
 */

@Entity
@Table(name = "tb_profile")
public class UserProfile extends PersistanceObject {

    private String firstName;

    private String lastName;

    private String contactNo;

    private String address;

    @OneToOne
    private MediaFile photo;

    /*@OneToMany(fetch = FetchType.LAZY)
    private List<Follow> follows;*/

    /**
     * Getters and Setters Methods
     *
     * @return
     */

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getContactNo() {
        return contactNo;
    }

    public void setContactNo(String contactNo) {
        this.contactNo = contactNo;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public MediaFile getPhoto() {
        return photo;
    }

    public void setPhoto(MediaFile photo) {
        this.photo = photo;
    }

    /*public List<Follow> getFollows() {
        return follows;
    }

    public void setFollows(List<Follow> follows) {
        this.follows = follows;
    }*/
}
